package com.njbw.design_pattern.struct.bridge2.abstractor;

/**
 * 抽象通知类（抽象化角色）
 */
public abstract class Notification {

    protected MessageSender messageSender;

    public Notification(MessageSender messageSender) {
        this.messageSender = messageSender;
    }

    public abstract void notify(String message);
}
